:host {
  color: var(--fg1);
  display: block;

  margin-bottom: 12px;
  margin-top: 12px;
  padding: 8px 0;

  :host-context(ix-editable) & {
    margin-bottom: 0;
    margin-top: 0;
  }

  .mat-mdc-chip-grid {
    display: block;
    min-height: 23px;
    width: 100%;
  }
}

.input-container {
  background: var(--bg1);
  border: solid 1.5px var(--lines);
  border-radius: 2px;
  display: flex;
  flex-direction: row;
  font-size: 12px;
  padding: 2px 8px;
  position: relative;

  &:focus-within {
    border-color: var(--primary);
  }

  &.disabled {
    opacity: 0.5;

    input {
      cursor: not-allowed;
      opacity: 1;
    }
  }
}

.chip {
  display: flex;
  font-size: 11px;
}

.mat-standard-chip {
  line-height: 1;
  min-height: 23px;
}

.input-container.disabled {
  background: var(--bg2);
}

